#include "DVLREL1Data.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator==(const DVLREL1Data::COEFSData& val1,
                                        const DVLREL1Data::COEFSData& val2) {
  FIELD_COMPARE(m_DVID)
  FIELD_COMPARE(m_COEF)
  return true;
}

bool SG::DataStructure::FEM::operator==(const DVLREL1Data& val1,
                                        const DVLREL1Data& val2) {
  FIELD_COMPARE(m_id)
  FIELD_COMPARE_ARR(m_TYPE, 8)
  FIELD_COMPARE(m_SID)
  FIELD_COMPARE_ARR(m_LNAME, 8)
  FIELD_COMPARE(m_LMIN)
  FIELD_COMPARE(m_LMAX)
  FIELD_COMPARE(m_C0)
  FIELD_COMPARE(m_ATT1)
  FIELD_COMPARE(m_ATT2)
  FIELD_COMPARE(m_ATT3)
  FIELD_COMPARE(m_ATT4)
  FIELD_COMPARE(m_ATT5)
  FIELD_COMPARE(m_domainId)
  return true;
}